﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Diagnostics;
using MySql.Data.MySqlClient;

namespace MySQL.Db
{
    public static class MySqlExtensions
    {
		public static void SetParameters(this MySqlCommand command, QueryArguments args)
		{
			if (args == null)
				return;

			foreach (MySqlParameter p in args) command.Parameters.Add(p);
		}
    }
}
